﻿using System;
using System.Collections.Generic;
using System.Text;
using FeCMS.Common.Enum;
using FeCMS.Data;

namespace FeCMS.UrlRoute
{
    /// <summary>
    ///     请求的解析包
    /// </summary>
    internal class ExRequestPack : IRoutePack
    {
        /// <summary>
        ///     控制器名
        /// </summary>
        public string Controller{set;get;}
        /// <summary>
        ///     动作名
        /// </summary>
        public string Action{set;get;}
        /// <summary>
        ///     模板路径
        /// </summary>
        public string TemplatePath{set;get;}
        /// <summary>
        ///     解析器的类型
        /// </summary>
        public ControllerType ControllerType { set; get; }
        /// <summary>
        ///     数据源
        /// </summary>
        public TemplateDataSoure DataSoure { set; get; }
    }
}
